package com.xmtlxx.common.tengbo.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;


/**
 * 上架任务视图对象 t_put_task
 *
 * @author xmtlxx
 * @date 2022-08-15
 */
@Data
@ApiModel("上架任务视图对象")
@ExcelIgnoreUnannotated
public class PutTaskVo {

    private static final long serialVersionUID = 1L;

    /**
     * 上架ID
     */
    @ExcelProperty(value = "上架ID")
    @ApiModelProperty("上架ID")
    private String id;

    /**
     * 入库单ID
     */
    @ExcelProperty(value = "入库单ID")
    @ApiModelProperty("入库单ID")
    private String wid;

    /**
     * 任务编号
     */
    @ExcelProperty(value = "任务编号")
    @ApiModelProperty("任务编号")
    private String taskNo;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wms_put_task_status")
    @ApiModelProperty("状态")
    private String status;

    /**
     * 描述
     */
    @ExcelProperty(value = "描述")
    @ApiModelProperty("描述")
    private String memo;

    /**
     * 上架员
     */
    @ExcelProperty(value = "上架员")
    @ApiModelProperty("上架员")
    private Long operator;

    @ApiModelProperty("上架员")
    private String operatorName;

    /**
     * 图片附件
     */
    @ExcelProperty(value = "图片附件")
    @ApiModelProperty("图片附件")
    private String pics;

    /**
     * 完成时间
     */
    @ExcelProperty(value = "完成时间")
    @ApiModelProperty("完成时间")
    private Date finishTime;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    @ApiModelProperty("创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 更新人
     */
    @ExcelProperty(value = "更新人")
    @ApiModelProperty("更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    @ApiModelProperty("更新时间")
    private Date updateTime;

    /**
     * 数量
     */
    @ExcelProperty(value = "数量")
    @ApiModelProperty("数量")
    private Long nums;

    /**
     * 删除标识
     */
    @ExcelProperty(value = "删除标识", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_del_flag")
    @ApiModelProperty("删除标识")
    private String delFlag;

    @ApiModelProperty(value = "仓库")
    private String storeName;

    @ApiModelProperty(value = "上架明细")
    private List<PutDtlVo> items;

    @ApiModelProperty(value = "上架员")
    private String nickName;

    @ApiModelProperty(value = "入库单号")
    private String wno;

    private String taskId;

    private String storeId;

    private List<BoxVo> boxList;
}
